#!/usr/bin/env python

import ConfigParser

config = ConfigParser.RawConfigParser()

config.add_section('Server')
config.set('Server', 'listen_address', 'localhost')
config.set('Server','listen_port','8000')
config.set('Server','main_page','cgi.py')
config.set('Server','log_file','log.txt')

with open('config', 'wb') as configfile:
    config.write(configfile)
